package com.gaohe.post.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.gaohe.common.core.annotation.Excel;
import com.gaohe.common.core.web.domain.BaseEntity;

/**
 * 帖子分类对象 fm_post_categorize
 * 
 * @author ruoyi
 * @date 2025-06-03
 */
public class FmPostCategorize extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 分类id */
    private Long postCategorizeId;

    /** 分类名称 */
    @Excel(name = "分类名称")
    private String categorizeName;

    /** 图标 */
    @Excel(name = "图标")
    private String icon;

    /** 状态 */
    @Excel(name = "状态")
    private Long status;

    /** 是否删除 */
    private Long delFlag;

    public void setPostCategorizeId(Long postCategorizeId) 
    {
        this.postCategorizeId = postCategorizeId;
    }

    public Long getPostCategorizeId() 
    {
        return postCategorizeId;
    }

    public void setCategorizeName(String categorizeName) 
    {
        this.categorizeName = categorizeName;
    }

    public String getCategorizeName() 
    {
        return categorizeName;
    }

    public void setIcon(String icon) 
    {
        this.icon = icon;
    }

    public String getIcon() 
    {
        return icon;
    }

    public void setStatus(Long status) 
    {
        this.status = status;
    }

    public Long getStatus() 
    {
        return status;
    }

    public void setDelFlag(Long delFlag) 
    {
        this.delFlag = delFlag;
    }

    public Long getDelFlag() 
    {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("postCategorizeId", getPostCategorizeId())
            .append("categorizeName", getCategorizeName())
            .append("icon", getIcon())
            .append("status", getStatus())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("createBy", getCreateBy())
            .append("updateBy", getUpdateBy())
            .append("remark", getRemark())
            .append("delFlag", getDelFlag())
            .toString();
    }
}
